// The users module. If you do not need any specific features, you can
// leave it an empty object.
const data = {
  location: "workings",
  modal: {
    property: [
      {
        description: "",
        key: "code",
        name: "模型名",
        type: "input",
        value: "",
        disabled: true,
        edit: false,
        save: false,
        requre: false
      },
      {
        description: "",
        key: "work",
        name: "网元名称",
        type: "input",
        value: "",
        disabled: false,
        edit: true,
        save: false,
        requre: false
      },
      {
        description: "",
        key: "bigkind",
        name: "所属专业",
        type: "select",
        value: "",
        disabled: false,
        edit: true,
        save: false,
        requre: false,
        options: [
          {
            value: 1,
            text: "传输"
          },
          {
            value: 2,
            text: "交换"
          },
          {
            value: 3,
            text: "数据"
          },
          {
            value: 4,
            text: "其他"
          },
          {
            value: 0,
            text: "未归档"
          }
        ]
      },
      {
        description: "",
        key: "_links",
        name: "链接",
        type: "input",
        disabled: true,
        edit: false
      }
    ]
  },
  table: {
    fields: [
      {
        key: "work",
        label: "网元名称",
        sortable: true
      },
      {
        key: "bigkind",
        label: "所属专业",
        sortable: true
      },
      {
        key: "operation",
        label: "操作",
        sortable: true
      }
    ]
  }
};
function match(key) {
  return data.property[key];
}

export default data;
// The posts module. You can add any additional things you want.
